#ifndef DB_INSTALLED_IMFORMATION_H
#define DB_INSTALLED_IMFORMATION_H

#include <sqlite3.h>
#include <qstring.h>
#include <stdio.h>
#include <QFile>
#include <QDir>
#include <time.h>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QtCore/QVariant>
#include <QDebug>

class Installed_imformation
{
public:
    QString version = "";
    QString description = "";
    QString now_time = "";
    QString appname = "kylin-update-desktop";
    QString icon = "";
    QString statue = "";
    QSqlDatabase database;
    char *zErrMsg = 0;
    Installed_imformation();
    ~Installed_imformation();
    bool insert(QString,QString,QString,QString,QString);
    void select();

};

#endif // DB_INSTALLED_IMFORMATION_H
